Object Identity


object identity - a characteristic of an object that provides a means to uniquely denote or refer to the object independent of its state or behavior.

In an object-oriented system, each object is unique. The uniqueness of an object is reached by introducing an object identifier. This identifier is independent of the values of an objects attributes. This means the objects can be distinguished from each other without comparing their values or their behavior. The object identity is system generated and can not be influenced by the user.

Further more objects are distinguished between OID and LID as defined below:

LID (logical identifier) - an implementation-free conceptual token that is uniquely associated with a specific object.
OID (object identifier) - a specific implementation of a logical identifier using a fixed format.


Now go on to ...
Introduction to objects
Object Identity
Object State
Object Behaviour